﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

/// <summary>
/// Summary description for QuyenBLL
/// </summary>
public class QuyenBLL
{
    IQuyen iquyen;
	public QuyenBLL()
	{
		//
		// TODO: Add constructor logic here
		//
        iquyen = new DALQuyen();
	}

    public Quyen GetQuyenById(int idRole)
    {
        return iquyen.GetQuyenById(idRole);
    }

    public DataTable getAllQuyen()
    {
        return iquyen.getAllQuyen();
    }
}